package org.andromda.android.net;

import org.apache.http.HttpResponse;
import org.apache.http.client.CookieStore;

public interface AuthenticationStrategy {

	String authenticationGetParameter(String url, ConnectionData prefs,
			String ticket);

	void checkUnauthorizedResponse(NetworkUtils nwUtils, HttpResponse response)
			throws NetworkException;

	void setAuthCookies(ConnectionData prefs, String ticket,
			CookieStore cookieStore);
}
